<?php
namespace app\index\controller;
use think\Controller;
use think\Db;
use think\Request;
class Discount extends Controller{
    public function index(){
        $data = Db::query("select * from level");
        return json($data);
    }
}
